package com.estock.web.dao;


import java.util.List;

import com.estock.common.dao.BaseDao;
import com.estock.common.model.security.StockCategory;

/**
 * @author richard
 *
 */
public interface StockCategoryDao extends BaseDao<StockCategory> {
	
	public StockCategory findStockCategoryByName(String categoryName);
	
	public List<StockCategory> findCategoriesByStockId(int stockid); 
	
	public List<StockCategory> findCategoriesByStockCode(String code); 
	
	public List<StockCategory> findAllActiveStockCategoies(); 
	
}
